package com.example.gaojt.androiddemo;

import android.app.Application;

import com.clean.spaceplus.cleansdk.app.SpaceApplication;
import com.example.gaojt.androiddemo.statical.sdk.StatisticsApi;

/**
 * Created by gaojt on 7/9/17.
 */

public class DemoAppImpl extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        StatisticsApi.Config config = new StatisticsApi.Config();
        config.appKey = "aaaa";
        config.channel = "bbbb";
        config.customProjectName = "aaac";
        config.versionName = BuildConfig.VERSION_NAME;
        StatisticsApi.init(this, config,true);

        SpaceApplication.getInstance().sdkInit(this);
    }
}
